 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
 }

 body {
     background-color: #f5f5f5;
     color: #333;
     line-height: 1.6;
 }

 .container {
     width: 90%;
     max-width: 1200px;
     margin: 0 auto;
 }

 .section-title {
     font-size: 24px;
     margin: 30px 0 20px;
     color: #333;
     font-weight: 600;
     position: relative;
     padding-left: 15px;
 }

 .section-title::before {
     content: "";
     position: absolute;
     left: 0;
     top: 5px;
     height: 20px;
     width: 4px;
     background: #ff9a14;
     border-radius: 2px;
 }

 /* 按钮样式 */
 .btn {
     display: inline-block;
     padding: 10px 20px;
     background: #ff9a14;
     color: white;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     text-align: center;
     transition: background 0.3s;
 }

 .btn:hover {
     background: #ff8a00;
 }

 .flight-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 20px;
     margin-bottom: 30px;
 }

 .flight-card {
     background: white;
     border-radius: 8px;
     padding: 15px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
     transition: all 0.3s;
 }

 .flight-card:hover {
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
     transform: translateY(-3px);
 }

 .flight-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 15px;
     padding-bottom: 10px;
     border-bottom: 1px dashed #eee;
 }

 .airline {
     display: flex;
     align-items: center;
 }

 .airline img {
     width: 24px;
     height: 24px;
     margin-right: 8px;
 }

 .flight-no {
     font-size: 14px;
     color: #666;
 }

 .flight-body {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 15px;
 }

 .departure,
 .arrival {
     text-align: center;
 }

 .departure .time,
 .arrival .time {
     font-size: 18px;
     font-weight: bold;
     color: #333;
 }

 .departure .city,
 .arrival .city {
     font-size: 12px;
     color: #999;
 }

 .duration {
     flex: 1;
     padding: 0 10px;
     text-align: center;
 }

 .duration .line {
     position: relative;
     height: 1px;
     background: #ddd;
     margin: 8px 0;
 }

 .duration .line::before,
 .duration .line::after {
     content: "";
     position: absolute;
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: #ddd;
     top: -2.5px;
 }

 .duration .line::before {
     left: 0;
 }

 .duration .line::after {
     right: 0;
 }

 .duration .line span {
     position: absolute;
     top: -20px;
     left: 50%;
     transform: translateX(-50%);
     font-size: 12px;
     color: #999;
 }

 .duration .type {
     font-size: 12px;
     color: #666;
 }

 .price {
     text-align: center;
 }

 .price .amount {
     font-size: 14px;
     color: #ff6b00;
     margin-bottom: 8px;
 }

 .price .amount span {
     font-size: 22px;
     font-weight: bold;
 }

 .price .book-btn {
     padding: 6px 12px;
     font-size: 14px;
 }

 .flight-footer {
     display: flex;
     gap: 8px;
     padding-top: 10px;
     border-top: 1px dashed #eee;
 }

 .flight-footer .tag {
     font-size: 12px;
     padding: 2px 6px;
     background: #f5f5f5;
     border-radius: 4px;
     color: #666;
 }

 .view-all {
     text-align: center;
     margin-top: 20px;
 }

 @media (max-width: 768px) {
     .flight-grid {
         grid-template-columns: 1fr;
     }
 }

 /* 搜索区域整体布局 */
 .search-layout {
     display: flex;
     justify-content: space-between;
     gap: 30px;
     margin-top: 20px;
 }

 /* 左侧搜索表单样式 */
 .search-left {
     width: 54%;
     background: white;
     padding: 25px;
     border-radius: 10px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 }

 /* 右侧轮播图样式 */
 .search-right {
     width: 42%;
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     display: flex;
     flex-direction: column;
 }

 /* 机票类型选择 */
 .trip-type {
     display: flex;
     margin-bottom: 20px;
     border-bottom: 1px solid #eee;
     padding-bottom: 15px;
 }

 .trip-type label {
     margin-right: 20px;
     cursor: pointer;
     font-weight: 500;
 }

 .trip-type input[type="radio"] {
     margin-right: 5px;
 }

 /* 日期行布局 */
 .date-row {
     display: flex;
     gap: 15px;
 }

 .date-row .search-item {
     flex: 1;
 }

 /* 搜索表单内部样式 */
 .search-item {
     margin-bottom: 20px;
     position: relative;
 }

 .search-item label {
     display: block;
     margin-bottom: 8px;
     font-weight: 600;
     color: #333;
 }

 .search-item input,
 .search-item select {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid #ddd;
     border-radius: 6px;
     font-size: 14px;
 }

 .hot-cities {
     display: none;
     flex-wrap: wrap;
     gap: 8px;
     margin-top: 10px;
     padding: 10px;
     background: #f9f9f9;
     border-radius: 6px;
     border: 1px solid #eee;
 }

 .hot-city {
     padding: 6px 12px;
     background: #f5f5f5;
     border-radius: 4px;
     cursor: pointer;
     font-size: 13px;
 }

 .hot-city:hover {
     background: #e0f7fa;
     color: #00acc1;
 }

 .search-btn {
     width: 100%;
     padding: 14px;
     background: #ff9a14;
     color: white;
     border: none;
     border-radius: 6px;
     font-size: 16px;
     font-weight: 600;
     cursor: pointer;
     margin-top: 10px;
 }

 /* 轮播图样式 */
 .swiper-container {
     width: 100%;
     height: 100%;
     position: relative;
 }

 .slider-image {
     width: 100%;
     height: 600px;
     object-fit: cover;
     display: block;
 }

 .slide-info {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
     color: white;
     padding: 20px;
 }

 /* 响应式设计 */
 @media (max-width: 768px) {
     .search-layout {
         flex-direction: column;
     }

     .search-left,
     .search-right {
         width: 100%;
     }

     .date-row {
         flex-direction: column;
         gap: 15px;
     }

     .slider-image {
         height: 250px;
     }
 }

 /* 促销活动样式 */
 .promotion-grid {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr;
     gap: 15px;
     margin-bottom: 30px;
 }

 .promotion-item {
     position: relative;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     height: 200px;
 }

 .promotion-item.big {
     grid-row: span 1;
     height: 200px;
 }

 .promotion-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .promotion-info {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     padding: 15px;
     background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
     color: white;
 }

 .promotion-info h3 {
     font-size: 18px;
     margin-bottom: 5px;
 }

 .promotion-info p {
     font-size: 14px;
     margin-bottom: 10px;
 }

 .promotion-info .btn {
     padding: 5px 10px;
     font-size: 12px;
 }

 @media (max-width: 768px) {
     .promotion-grid {
         grid-template-columns: 1fr;
     }

     .promotion-item,
     .promotion-item.big {
         height: 150px;
     }
 }

 /* 热门航线样式 */
 .route-tabs {
     background: white;
     border-radius: 8px;
     padding: 20px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     margin-bottom: 30px;
 }

 .tab-header {
     display: flex;
     border-bottom: 1px solid #eee;
     margin-bottom: 20px;
 }

 .tab {
     padding: 10px 20px;
     cursor: pointer;
     font-weight: 500;
     color: #666;
 }

 .tab.active {
     color: #ff9a14;
     border-bottom: 2px solid #ff9a14;
 }

 .tab-pane {
     display: none;
 }

 .tab-pane.active {
     display: block;
 }

 .route-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     gap: 15px;
 }

 .route-card {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 15px;
     border: 1px solid #eee;
     border-radius: 6px;
     transition: all 0.3s;
 }

 .route-card:hover {
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     transform: translateY(-3px);
 }

 .route-info h3 {
     font-size: 16px;
     margin-bottom: 8px;
     color: #333;
 }

 .price {
     color: #ff6b00;
     font-size: 14px;
     margin-bottom: 5px;
 }

 .price span {
     font-size: 20px;
     font-weight: bold;
 }

 .time {
     font-size: 12px;
     color: #999;
 }

 .book-btn {
     padding: 8px 15px;
     background: #ff9a14;
     color: white;
     border-radius: 4px;
     font-size: 14px;
     text-decoration: none;
 }

 @media (max-width: 768px) {
     .route-grid {
         grid-template-columns: 1fr;
     }
 }

 /* 航班搜索详情样式 */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
 }

 body {
     background-color: #f5f5f5;
     color: #333;
     line-height: 1.6;
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 15px;
 }

 /* 搜索条件展示区 */
 .search-condition {
     background-color: white;
     padding: 20px;
     margin: 20px 0;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .condition-item {
     display: flex;
     align-items: center;
     margin-bottom: 10px;
 }

 .condition-label {
     width: 80px;
     color: #666;
 }

 .condition-value {
     flex: 1;
     font-weight: 500;
 }

 .modify-search {
     color: #1e88e5;
     text-decoration: none;
     font-size: 14px;
     display: inline-block;
     margin-top: 10px;
 }

 .modify-search:hover {
     text-decoration: underline;
 }

 /* 筛选工具栏 */
 .filter-bar {
     display: flex;
     background-color: white;
     padding: 15px 20px;
     border-radius: 8px;
     margin-bottom: 20px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     flex-wrap: wrap;
     gap: 15px;
 }

 .filter-group {
     margin-right: 20px;
 }

 .filter-title {
     font-size: 14px;
     color: #666;
     margin-bottom: 8px;
 }

 .filter-options {
     display: flex;
     gap: 10px;
 }

 .filter-option {
     padding: 5px 12px;
     border-radius: 4px;
     font-size: 14px;
     cursor: pointer;
     border: 1px solid #ddd;
     background-color: white;
 }

 .filter-option.active {
     background-color: #1e88e5;
     color: white;
     border-color: #1e88e5;
 }

 /* 航班列表 */
 .flight-list {
     background-color: white;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     overflow: hidden;
 }

 .flight-item {
     padding: 20px;
     border-bottom: 1px solid #eee;
     transition: background-color 0.3s;
 }

 .flight-item:hover {
     background-color: #f9f9f9;
 }

 .flight-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 15px;
 }

 .airline-info {
     display: flex;
     align-items: center;
 }

 .airline-logo {
     width: 30px;
     height: 30px;
     margin-right: 10px;
 }

 .airline-name {
     font-weight: 500;
 }

 .flight-number {
     color: #666;
     font-size: 14px;
 }

 .flight-body {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 15px;
 }

 .flight-time {
     text-align: center;
     flex: 1;
 }

 .time {
     font-size: 20px;
     font-weight: 500;
     margin-bottom: 5px;
 }

 .airport {
     font-size: 14px;
     color: #666;
 }

 .flight-duration {
     flex: 2;
     text-align: center;
     position: relative;
 }

 .duration-line {
     height: 1px;
     background-color: #ddd;
     position: relative;
     margin: 10px 20px;
 }

 .duration-line:before {
     content: "";
     position: absolute;
     left: 0;
     top: -3px;
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: #1e88e5;
 }

 .duration-line:after {
     content: "";
     position: absolute;
     right: 0;
     top: -3px;
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: #ff6d00;
 }

 .duration-text {
     font-size: 14px;
     color: #666;
 }

 .flight-type {
     font-size: 12px;
     color: #1e88e5;
     background-color: #e3f2fd;
     padding: 2px 6px;
     border-radius: 4px;
     display: inline-block;
     margin-top: 5px;
 }

 .flight-price {
     text-align: right;
     flex: 1;
 }

 .price {
     font-size: 24px;
     color: #ff6d00;
     font-weight: 500;
     margin-bottom: 5px;
 }

 .price-desc {
     font-size: 12px;
     color: #666;
 }

 .book-btn {
     background-color: #ff6d00;
     color: white;
     border: none;
     padding: 8px 20px;
     border-radius: 4px;
     font-size: 14px;
     cursor: pointer;
     transition: background-color 0.3s;
 }

 .book-btn:hover {
     background-color: #ff9100;
 }

 .flight-footer {
     display: flex;
     gap: 10px;
 }

 .flight-tag {
     font-size: 12px;
     padding: 3px 8px;
     border-radius: 4px;
     background-color: #f5f5f5;
     color: #666;
 }

 /* 排序栏 */
 .sort-bar {
     display: flex;
     background-color: white;
     padding: 15px 20px;
     border-radius: 8px 8px 0 0;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     margin-bottom: 1px;
 }

 .sort-option {
     margin-right: 25px;
     font-size: 14px;
     color: #666;
     cursor: pointer;
     position: relative;
 }

 .sort-option.active {
     color: #1e88e5;
     font-weight: 500;
 }

 .sort-option.active:after {
     content: "";
     position: absolute;
     bottom: -10px;
     left: 0;
     width: 100%;
     height: 2px;
     background-color: #1e88e5;
 }

 /* 分页 */
 .pagination {
     display: flex;
     justify-content: center;
     margin: 30px 0;
 }

 .page-item {
     margin: 0 5px;
 }

 .page-link {
     display: block;
     padding: 8px 15px;
     border: 1px solid #ddd;
     border-radius: 4px;
     color: #333;
     text-decoration: none;
 }

 .page-link:hover {
     background-color: #f5f5f5;
 }

 .page-link.active {
     background-color: #1e88e5;
     color: white;
     border-color: #1e88e5;
 }

 /* 响应式设计 */
 @media (max-width: 768px) {
     .flight-body {
         flex-direction: column;
         align-items: flex-start;
     }

     .flight-time,
     .flight-duration,
     .flight-price {
         width: 100%;
         text-align: left;
         margin-bottom: 15px;
     }

     .flight-duration {
         padding: 15px 0;
     }

     .duration-line {
         margin: 0;
     }

     .flight-price {
         display: flex;
         justify-content: space-between;
         align-items: center;
     }
 }